package com.abing.starry.model.enums;

import com.abing.starry.spi.dict.EnumDict;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author CaptainBing
 * @Date 2024/9/6 10:36
 * @Description 题目提交语言枚举
 */
@Getter
@AllArgsConstructor
public enum QuestionSubmitLanguageEnum implements EnumDict<String> {

    JAVA,
    CPLUSPLUS,
    PYTHON,
    ;

    @Override
    public String getValue() {
        return name();
    }

    @Override
    public String getText() {
        return name();
    }
}
